package com.ncepu.clubmanagement.pojo.inter;

public interface PermissionLevel {
    public static final int PERMISSION_BACKGROUND = 0;
    public static final int PERMISSION_COMMITTEE = 1;
    public static final int PERMISSION_CLUB = 2;
    public static final int PERMISSION_NORMAL = 3;

    public static boolean isBackground(Integer permissionlevel) {
        return permissionlevel == PERMISSION_BACKGROUND;
    }
    public static boolean isCommittee(Integer permissionlevel) {
        return permissionlevel == PERMISSION_COMMITTEE || permissionlevel == PERMISSION_BACKGROUND;
    }
}
